//package com.mnyc.research.controller;
//
//import java.util.List;
//import javax.servlet.http.HttpServletResponse;
//import org.springframework.security.access.prepost.PreAuthorize;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.PutMapping;
//import org.springframework.web.bind.annotation.DeleteMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import com.mnyc.common.annotation.Log;
//import com.mnyc.common.core.controller.BaseController;
//import com.mnyc.common.core.domain.AjaxResult;
//import com.mnyc.common.enums.BusinessType;
//import com.mnyc.research.domain.JyActivityTeacher;
//import com.mnyc.research.service.IJyActivityTeacherService;
//import com.mnyc.common.utils.poi.ExcelUtil;
//import com.mnyc.common.core.page.TableDataInfo;
//
///**
// * 人员记录主Controller
// *
// * @author ruoyi
// * @date 2025-08-08
// */
//@RestController
//@RequestMapping("/research/jyActivityTeacher")
//public class JyActivityTeacherController extends BaseController
//{
//    @Autowired
//    private IJyActivityTeacherService jyActivityTeacherService;
//
//    /**
//     * 查询人员记录主列表
//     */
//    @PreAuthorize("@ss.hasPermi('research:jyActivityTeacher:list')")
//    @GetMapping("/list")
//    public TableDataInfo list(JyActivityTeacher jyActivityTeacher)
//    {
//        startPage();
//        List<JyActivityTeacher> list = jyActivityTeacherService.selectJyActivityTeacherList(jyActivityTeacher);
//        return getDataTable(list);
//    }
//
//    /**
//     * 导出人员记录主列表
//     */
//    @PreAuthorize("@ss.hasPermi('research:jyActivityTeacher:export')")
//    @Log(title = "人员记录主", businessType = BusinessType.EXPORT)
//    @PostMapping("/export")
//    public void export(HttpServletResponse response, JyActivityTeacher jyActivityTeacher)
//    {
//        List<JyActivityTeacher> list = jyActivityTeacherService.selectJyActivityTeacherList(jyActivityTeacher);
//        ExcelUtil<JyActivityTeacher> util = new ExcelUtil<JyActivityTeacher>(JyActivityTeacher.class);
//        util.exportExcel(response, list, "人员记录主数据");
//    }
//
//    /**
//     * 获取人员记录主详细信息
//     */
//    @PreAuthorize("@ss.hasPermi('research:jyActivityTeacher:query')")
//    @GetMapping(value = "/{id}")
//    public AjaxResult getInfo(@PathVariable("id") Long id)
//    {
//        return success(jyActivityTeacherService.selectJyActivityTeacherById(id));
//    }
//
//    /**
//     * 新增人员记录主
//     */
//    @PreAuthorize("@ss.hasPermi('research:jyActivityTeacher:add')")
//    @Log(title = "人员记录主", businessType = BusinessType.INSERT)
//    @PostMapping
//    public AjaxResult add(@RequestBody JyActivityTeacher jyActivityTeacher)
//    {
//        return toAjax(jyActivityTeacherService.insertJyActivityTeacher(jyActivityTeacher));
//    }
//
//    /**
//     * 修改人员记录主
//     */
//    @PreAuthorize("@ss.hasPermi('research:jyActivityTeacher:edit')")
//    @Log(title = "人员记录主", businessType = BusinessType.UPDATE)
//    @PutMapping
//    public AjaxResult edit(@RequestBody JyActivityTeacher jyActivityTeacher)
//    {
//        return toAjax(jyActivityTeacherService.updateJyActivityTeacher(jyActivityTeacher));
//    }
//
//    /**
//     * 删除人员记录主
//     */
//    @PreAuthorize("@ss.hasPermi('research:jyActivityTeacher:remove')")
//    @Log(title = "人员记录主", businessType = BusinessType.DELETE)
//	@DeleteMapping("/{ids}")
//    public AjaxResult remove(@PathVariable Long[] ids)
//    {
//        return toAjax(jyActivityTeacherService.deleteJyActivityTeacherByIds(ids));
//    }
//}
